<!DOCTYPE html>
<!--[if IE 8]>			<html class="ie ie8"> <![endif]-->
<!--[if IE 9]>			<html class="ie ie9"> <![endif]-->
<!--[if gt IE 9]><!-->	<html> <!--<![endif]-->
<head>
    <meta charset="utf-8">
    <title>{$menu.menu_seo_title|default=$site_seo_title} {$site_name}</title>
    <meta name="keywords" content="{$menu.menu_seo_key|default=$site_seo_keywords}" />
    <meta name="description" content="{$menu.menu_seo_des|default=$site_seo_description}">
    {include file="public:head" /}
	<link rel="stylesheet" href="__PUBLIC__/font-awesome/css/font-awesome.min.css" />
    <link rel="stylesheet" href="__PUBLIC__/datePicker/bootstrap-datepicker.css" />
	<link rel="stylesheet" href="__PUBLIC__/datetimepicker/bootstrap-datetimepicker.css" />
    <link rel="stylesheet" href="{$yf_theme_path}public/css/new.css">
    <!--[if !IE]> -->
    <script src="__PUBLIC__/others/jquery.min-2.2.1.js"></script>
    <!-- <![endif]-->
    <!-- 如果为IE,则引入jq1.12.1 -->
    <!--[if IE]>
    <script src="__PUBLIC__/others/jquery.min-1.12.1.js"></script>
    <![endif]-->
    <script src="__PUBLIC__/datePicker/bootstrap-datepicker.js"></script>
	<script src="__PUBLIC__/datetimepicker/bootstrap-datetimepicker.js"></script>
	<script src="__PUBLIC__/datetimepicker/locales/bootstrap-datetimepicker.zh-CN.js"></script>
</head>
<style type="text/css">
	table{border-collapse: collapse;/* 边框合并属性  */}
	td{border: 1px solid #ccc;}
	table.plan_table{min-width:80%;max-width:100%;margin:20px auto;}
	table.plan_table thead td{color:#333;}
	table.plan_table td{font-size:16px;height:38px;border:none;border-bottom:1px solid #ccc;}
</style>
<body class="page">
<div class="wrap">
    {include file="public:nav" /}
    <div id="main-cmf">
        <div class="breadcrumb-wrapper">
            <div class="container">
                <div class="row page-title">
                    <div class="col-lg-12 col-md-12 col-xs-12 col-sm-6">
                        <h1 class="title">{$name}</h1>
                    </div>
                </div>
            </div>
        </div>
        <div class="content" style="padding:0;">
            <div class="detailss">
				<div class="box_m" style="width:1140px;margin:0 auto;">
					<div class="detail-first" style="padding-top:30px;">
					
						<div class="detail-content" >
							<div class="detail-con-one">
								<div class="detail-logo" style="width:auto;background:none;">
									<img src="{$logo}" style="height:100%;" />
								</div>
								<!--<div class="detail-report">
									<a href="" style="color: #fff;">平台审查报告></a>
								</div>-->
							</div>
							<div class="detail-con-two">
								<div class="detail-bar debar">
									<p>平台利率：{$ptll}</p>
									<p>挖财奖励：{$jlll}</p>
								</div>
								<div class="detail-bars debar">
									<p>投资金额</p>
									<p>{$scope_detail}</p>
								</div>
								<div class="detail-bars debar">
									<p>投资期限</p>
									<p>{$cycle_detail}</p>
								</div>
								<div class="clear">
								</div>
							</div>
							<div class="detail-con-three">
								<p class="detail-rate">预期年化利率：{$profit_year}</p>
								<div class="detail-bid">
									<a href="javascript:;">去官方投标</a>
								</div>
								<div class="clear"></div>
							</div>
							<div class="detail-con-four">
								提示：点击直达链接投资完，记得回来登记返现哦！
							</div>
						</div>
						<div class="detail-table">
							<div class="detail-tab-one">
								<ul>
									<li class="detail-tzdj detailul show_dj active" onclick="show_dj()">投资登记</li>
									<li class="detail-tzdj detailul show_my" onclick="show_my()">我的投资</li>
								</ul>
							</div>
							<div class="detail-tab-two show_dj_li" style="padding-top:10px;">
								<form class="form-light form-horizontal ajax-form" action="{:url('home/Platform/doinreg')}" method="post">
									<div class="form-group">
										<label class="col-lg-3 col-md-3 col-sm-3 col-xs-3 control-label" style="padding-left:0px;padding-right:0;text-align: center;">选择方案</label>
										<div class="col-lg-9 col-md-9 col-sm-9 col-xs-9" style="padding:0;padding-right:10px;">
											<select id="input-sex" name="plan_id" class="form-control" style="width:100%;margin:0;padding:6px 6px;">
												{foreach name="plan" item="pl"}
													<option value="{$pl.plan_id}">方案{$pl.name} 周期{$pl.cycle} 年化{$pl.profit_year}</option>
												{/foreach}
											</select>
											
										</div>
									</div>
									<div class="form-group">
										<label class="col-lg-3 col-md-3 col-sm-3 col-xs-3 control-label" style="padding-left:0px;padding-right:0;text-align: center;">手机号码</label>
										<div class="col-lg-9 col-md-9 col-sm-9 col-xs-9" style="padding:0;padding-right:10px;">
											<input type="text" class="form-control" name="phone" value="">
										</div>
									</div>
									<div class="form-group">
										<label class="col-lg-3 col-md-3 col-sm-3 col-xs-3 control-label" style="padding-left:0px;padding-right:0;text-align: center;">投资金额</label>
										<div class="col-lg-9 col-md-9 col-sm-9 col-xs-9" style="padding:0;padding-right:10px;">
											<input type="text" class="form-control" name="jine" value="">
										</div>
									</div>
									<div class="form-group">
										<label class="col-lg-3 col-md-3 col-sm-3 col-xs-3 control-label" style="padding-left:0px;padding-right:0;text-align: center;">投资日期</label>
										<div class="col-lg-9 col-md-9 col-sm-9 col-xs-9" style="padding:0;padding-right:10px;">
											<input type="text" class="form-control date-picker" name="tz_date" value="">
										</div>
									</div>
									<div class="form-group">
										<label class="col-lg-3 col-md-3 col-sm-3 col-xs-3 control-label" style="padding-left:0px;padding-right:0;text-align: center;">起息日期</label>
										<div class="col-lg-9 col-md-9 col-sm-9 col-xs-9" style="padding:0;padding-right:10px;">
											<input type="text" class="form-control date-picker" name="qx_date" value="">
										</div>
									</div>
									<input type="hidden" name="platform_id" value="{$platform_id}">
									<div style="width:100%;text-align: center;padding-top:10px;">
										{if condition="!empty($user['member_list_id'])"}
											<input type="submit" value="提交登记" class="tj-btn">
										{else /}
											<a href="{:url('home/Login/index')}" class="tj-btn">请先登录</a>
										{/if}
									</div>
									
								</form>
							</div>
							<div class="detail-tab-two show_my_li" style="display:none;padding-top:10px;">
								{if condition="!empty($user['member_list_id'])"}
									<div style="width:100%;text-align: center;padding-top:10px;">
										<table width="98%" style="margin:0 auto;">
											<thead>
												<tr>
													<td>方案</td>
													<td>金额</td>
													<td>电话</td>
													<td>登记时间</td>
												</tr>
											</thead>
											<tbody>
												{volist name="myinreg" id="vo"}
												<tr>
													<td>{$vo.plan_name}</td>
													<td>{$vo.jine}</td>
													<td>{$vo.phone}</td>
													<td>{$vo.ctime|date="Y-m-d",###}</td>
												</tr>
												{/volist}
											</tbody>
										</table>
									</div>
								{else /}
									<div style="width:100%;text-align: center;padding-top:10px;">
										<a href="{:url('home/Login/index')}" class="tj-btn">请先登录</a>
									</div>
								{/if}
							</div>
							<div class="detail-tab-three">
								<!--<p>奖励&nbsp;+&nbsp;利息&nbsp;=&nbsp;元&nbsp;年化：%</p>-->
							</div>
						</div>
						<div class="clear"></div>
					</div>
				</div>
			</div>
			<div class="box_m" style="width:1140px;margin:0 auto;text-align: center;">
				<table class="plan_table">
					<thead>
						<tr>
							<td></td>
							<td>方案</td>
							<td>投资范围</td>
							<td>项目期限</td>
							<td>利率</td>
							<td>还款方式</td>
							<td>返利比例</td>
							<td>平台综合奖励</td>
							<td>管理费</td>
							<td>年化</td>
						</tr>
					</thead>
					<tbody>
						{foreach name="plan" item="pa"}
						<tr>
							<td>{$pa.type}</td>
							<td>{$pa.name}</td>
							<td>{$pa.scope}</td>
							<td>{$pa.cycle}</td>
							<td>{$pa.profit}</td>
							<td>{$pa.get_type}</td>
							<td style="color:#FF2222">{$pa.rebaterabio}</td>
							<td>{$pa.jlll}</td>
							<td>{$pa.mexpense}</td>
							<td>{$pa.profit_year}</td>
						</tr>
						{/foreach}
					</tbody>
				</table>
			</div>
			<div class="box_m" style="width:1140px;margin:0 auto;">
				{foreach name="plan" item="pa"}
				<div style="width:330px;float:left;height:auto;padding:10px 20px;margin:10px;background: #f2f2f2;border-radius: 10px;;">
					<div style="width:100%;height:40px;line-height:40px;text-align: center;">
						方案{$pa.name}
					</div>	
					<div style="width:100%;padding-top:10px;height:auto;overflow: hidden;">
						{$pa.content}
					</div>	
				</div>
				{/foreach}
				<div class="clear"></div>
			</div>
			<div class="box_m" style="width:1140px;margin:0 auto;">
				<div style="width:100%;height:50px;line-height:50px;font-size:22px;margin-top:20px;color:#333;">
					免责声明
				</div>
				<div style="width:100%;line-height:28px;">
					投联体仅为第三方中介平台，不吸纳任何用户的任何投资资金，向用户进行P2P平台展示推荐，但并无资金交易在投联体平台上发生。投资有风险，投联体的合作平台是经过实地考察、风险评估的，但现实运营也存在风险，所以合作平台并不保证绝对安全。如果出现合作平台提现困难、逾期、倒闭、跑路等令用户无法拿回本金的情况，投联体会积极配合提供维权帮助，但不承担任何责任。
				</div>
			</div>
        </div>
    </div>
    {include file="public:footer"/}
</div>
<script>
    $(".date-picker").datepicker({
        format: 'yyyy-mm-dd',
        autoclose: true,
        todayHighlight: true,
        language:'zh-CN'
    });
    $(".datetime-picker").datetimepicker({
        format: 'yyyy-mm-dd hh:ii:ss',
        autoclose: true,
        todayHighlight: true,
        language:'zh-CN'
    });
    function show_dj(){
    	$(".show_dj_li").show();
    	$(".show_dj").addClass("active");
    	$(".show_my_li").hide();
    	$(".show_my").removeClass("active");
    	
    }
    function show_my(){
    	$(".show_dj_li").hide();
    	$(".show_dj").removeClass("active");
    	$(".show_my_li").show();
    	$(".show_my").addClass("active");
    }
</script>
{include file="public:scripts"/}
</body>
</html>